package com.jbit.dm_160.mapper;

import com.jbit.dm_160.model.dto.SchedulerSeatDTO;
import com.jbit.dm_160.model.entity.LinkUser;
import com.jbit.dm_160.model.entity.SchedulerSeat;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SchedulerSeatMapper {
    List<String> getSeatArrayByScheduleId(Integer scheduleId);

    List<SchedulerSeatDTO> getSeatByScheduleId(Integer scheduleId);

    List<SchedulerSeatDTO> getScheduleSeatPriceByInfo(@Param("scheduleId") Integer scheduleId,
                               @Param("list") List<SchedulerSeat> list);

    Integer updateSeatStatus(@Param("scheduleId")Integer scheduleId,
                             @Param("list")List<SchedulerSeat> list,
                             @Param("status")Integer status,
                             @Param("orderNo") String orderNo);
}
